html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

body {
    color: #2f332a;
    font: 15px/21px Arial, Helvetica, simsun, sans-serif;
    background: #f0f6e4 \9;
    --sm-primary-color: #2ea1b3 /* 安全监控里面的通用颜色 */
}

h1, h2, h3, h4, h5, h6 {
    color: #2f332a;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    padding-bottom: 5px;
}

h1 {
    font-size: 24px;
    line-height: 34px;
    text-align: center;
}

h2 {
    font-size: 14px;
    line-height: 24px;
    padding-top: 5px;
}

h6 {
    font-weight: normal;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 24px;
    text-align: center;
}

a {
    color: #3C6E31;
    text-decoration: underline;
}

a:hover {
    background-color: #3C6E31;
    color: white;
}

input.radio {
    margin: 0 2px 0 8px;
}

input.radio.first {
    margin-left: 0;
}

input.empty {
    color: lightgray;
}

code {
    color: #2f332a;
}

.highlight_red {
    color: #A60000;
}

.highlight_green {
    color: #A7F43D;
}

li {
    list-style: circle;
    font-size: 12px;
}

li.title {
    list-style: none;
}

ul.list {
    margin-left: 17px;
}

div.content_wrap {
    width: 600px;
    height: 380px;
}

div.content_wrap div.left {
    float: left;
    width: 250px;
}

div.content_wrap div.right {
    float: right;
    width: 340px;
}

div.zTreeDemoBackground {
    width: 250px;
    height: 362px;
    text-align: left;
}

ul.ztree {
    margin-top: 10px;
    border-bottom: 1px solid #e9e9e9;
    border-top: 1px solid #e9e9e9;
    background: #f0f6e4;
    width: 480px;
    height: 360px;
    overflow-y: scroll;
    overflow-x: auto;
}

ul.log {
    border: 1px solid #617775;
    background: #f0f6e4;
    width: 300px;
    height: 170px;
    overflow: hidden;
}

ul.log.small {
    height: 45px;
}

ul.log li {
    color: #666666;
    list-style: none;
    padding-left: 10px;
}

ul.log li.dark {
    background-color: #E3E3E3;
}

/* ruler */
div.ruler {
    height: 20px;
    width: 220px;
    background-color: #f0f6e4;
    border: 1px solid #333;
    margin-bottom: 5px;
    cursor: pointer
}

div.ruler div.cursor {
    height: 20px;
    width: 30px;
    background-color: #3C6E31;
    color: white;
    text-align: right;
    padding-right: 5px;
    cursor: pointer
}

/* 上面是z-tree 自带的样式 */
/* 下面是 SafeMonitor 的自定义样式 */
.uploader-footer {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 25px;
}

.UploaderIcon {
    background-color: transparent;
    color: var(--sm-primary-color);
}

.UploaderIcon:hover {
    background-color: var(--sm-primary-color);
    color: white;
}

.GisUtilIcon {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    background-color: transparent;
    border-radius: 6px;
    color: var(--sm-primary-color);
    border: 2px solid var(--sm-primary-color);
}

.GisUtilIcon:hover {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-radius: 6px;
    background-color: var(--sm-primary-color);
    border: 2px solid var(--sm-primary-color);
    color: white;
}

.P_slideBox {
    display: flex;
    align-items: center;
    width: 60px;
    height: 65px;
    background-color: white;
    border-radius: 10px;
}

.P_slideBox::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: white;
    transform: rotate(45deg);
    margin-left: -2px;
}

#AreaIconsContainer {
    margin-left: 10px;
    display: flex;
    gap: 10px;
    width: 25px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#PoweredAreaContainer {
    width: 100px;
    height: 50px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.PoweredAreaInnerButton {
    flex: 1;
    height: 25px;
    border-radius: 4px;
    background-color: green;
    font-size: 12px;
}

.PAInnerEditButton {
    background-color: #8dc777;
}

.PAInnerDeleteButton {
    background-color: #e3e3e3;
}

.PAdialog {
    top: 20%;
    width: 480px;
    left: calc(50% - 100px)
}

.PAdialog .dialog-inner {
    padding: 0px;
}

.PAdialog .dialog-inner .dialog-title {
    color: #606060;
    font-size: 16px;
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 14px;
}

.PaDialogInnerBox {
    width: 100%;
    height: 100%;
    border: 1px solid #e8e8e8;
    padding: 10px 14px;
    box-sizing: border-box;
}

/* ztree 右键节点弹出的小弹窗样式 */
.treeNodeRightClickStyle {
    width: 80px;
    height: 40px;
    position: absolute;
    background-color: #f7f5f6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.RCdeleteInnerNodeStyle {
    width: 100%;
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    cursor: default;
}

/* 巷道图层选择 dialog样式 */
.sm-layerselect-pop {
    padding: 20px;
}

.sm-layerselect-pop article li::marker {
    content: none;
}

/* 巷道图层颜色设置 dialog样式 */
.sm-layercolor-pop {
    padding: 20px;
}

.sm-layercolor-pop article li::marker {
    content: none;
}

#SensorSelector {
    width: 92%;
    height: 66%;
    border: 1px solid #e8e8e8;
    box-sizing: border-box;
    appearance: auto;
    color: #828282;
}

#SensorSelector option {
    color: #828282;
}

.drawAreaIcon {
    width: 25px;
    height: 25px;
    background-color: #00feff;
}

.selectAreaIcon {
    width: 25px;
    height: 25px;
    background-color: #00bfad;
}

.equipSelectDialog {
    position: absolute;
    z-index: 999;
    left: 80px;
    top: 75px;
    height: 0;
    border-radius: 8px;
    transition: all .7s;
    overflow: hidden;

}

.cardTitle {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding-left: 7px;
    background-color: #f7f5f6;
    box-sizing: border-box;
    border-radius: 6px 6px 0 0;
    font-weight: normal;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title_text {
    width: 70px;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    padding-top: 8px;

}

.truncateBox {
    width: 25px;
    height: 25px;
    background: url("../images/safe_monitor/truncate.png") no-repeat center center;
    background-size: 25px 25px;
    margin-right: 10px;
}

.spaceBox {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

#app article .vpHeader {
    width: 100%;
    height: 80px;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;

}

.header_button_primary {
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 12px;
    border: 1px solid var(--sm-primary-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 20px;
}

.header_button_color {
    color: var(--sm-primary-color);
    background-color: transparent;
}

.node_highlight {
    color: pink;
}

.sm_page {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #242731;
    border-radius: 16px;
    overflow: hidden;
    min-width: 315px;
    height: 120px;

}

.sm_page_blueblock {
    height: 100%;
    width: 15px;
    background-color: #115DEE;
}

.sm_page_greenblock {
    height: 100%;
    width: 15px;
    background-color: #59A859;
}

.sm_page_orangeblock {
    height: 100%;
    width: 15px;
    background-color: #FFCD4B;
}

#sm_page_info_staff {
    font-size: 14px;
    padding: 4px 6px;
}

#sm_page_info_broadcast {
    font-size: 14px;
    padding: 4px 6px;
}

#sm_broadcastinfo_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

}

#sm_videoinfo_overlay {
    width: 300px;
    height: 200px;
    background-color: snow;
    border: 1px solid white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sm_videoinfo_overlay video {
    width: 98%;
    height: 95%;
}

#broadcastTypeStyle {
    display: flex;
    width: 97%;
    height: 20px;
    margin-top: 8px;
    line-height: 20px;


}

#broadcastNameStyle {
    display: flex;
    width: 97%;
    height: 20px;
    margin-top: 8px;
    line-height: 20px;
}

#broadcastUpdateTimeStyle {
    display: flex;
    width: 97%;
    height: 20px;
    margin-top: 8px;
    line-height: 20px;
}

#broadcastStateStyle {
    display: flex;
    width: 97%;
    height: 20px;
    margin-top: 8px;
    line-height: 20px;
}

.infoName {
    width: 68px;
    height: 100%;
    line-height: 20px;
    text-align: right;
}

.infoValue {
    flex: 1;
    height: 100%;
    line-height: 20px;
}

.sm_page_content {
    height: 100%;
    flex: 19;
    position: relative;
}

#sm_page_content_blocks {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#sm_page_content_blocks .sm_info_content_block {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#sm_page_content_blocks .sm_info_content_block .sm_block_info_text {
    height: 60px;
    white-space: nowrap;
    width: 100%;
    color: white;
    line-height: 60px;
    text-align: center;
    box-sizing: border-box;
}

.sm_close_icon {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 12px;
}

/* 鹰眼地图 start */
.custom-overviewmap,
.custom-overviewmap.ol-uncollapsible {
    bottom: auto;
    left: auto;
    right: 32px;
    top: 50px;
}

.custom-overviewmap:not(.ol-collapsed) {
    border: 1px solid black;
}

.custom-overviewmap .ol-overviewmap-map {
    border: none;
    width: 300px;
}

.custom-overviewmap .ol-overviewmap-box {
    border: 2px dashed red;
}

.custom-overviewmap:not(.ol-collapsed) button {
    position: absolute;
    bottom: auto;
    left: auto;
    right: 0px;
    top: 0px;
}

/* 鹰眼地图  end */

/* 视图重置 start */
.custom-zoom-extent {
    position: absolute;
    right: 32px;
    top: 80px;
}

/* 视图重置 end */

/* 安全监控 小眼睛开启图标样式 */
.eye_open_style {
    display: inline-block;
    padding-left: 4px !important;
    width: 12px;
    height: 12px;
    background: url("../images/safe_monitor/eye_open.png") no-repeat;
    background-size: 12px 12px;
    background-position: center center;
}

/* 安全监控  小眼睛关闭图标样式 */
.eye_close_style {
    display: inline-block;
    padding-left: 4px !important;
    width: 12px;
    height: 12px;
    background: url("../images/safe_monitor/eye_close.png") no-repeat;
    background-size: 12px 12px;
    background-position: center center;
}

/* openlayers的dragbox的样式 */
.drag_box {
    border: 1px solid deeppink;
}

/*  分站的高亮动画 */
.css_animation_station {
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background: rgba(0, 240, 0, 0.7);
    transform: scale(0);
    animation: myfirst 3s;
    animation-iteration-count: infinite;
}

/* 广播分站的定位以及报警动画 */
.css_animation_broadcast {
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background: rgba(17, 93, 238, 0.7);
    transform: scale(0);
    animation: myfirst 3s;
    animation-iteration-count: infinite;
}

/* 重写 dxf文件上传组件的 pop 弹窗的样式 */
.sm-uploader-pop {
    padding: 10px;

}

.smIconOverlay {
    width: 30px;
    height: 40px;
    background-image: url("../images/safe_monitor/Pin.svg");
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.sm_stationIcon {
    margin-top: 3px;
    padding: 0;
    border-radius: 13px;
    width: 26px;
    height: 26px;
    background-color: #59A859;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sm_broadcastIcon {
    margin-top: 3px;
    padding: 0;
    border-radius: 13px;
    width: 26px;
    height: 26px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sm_gasIcon {
    margin-top: 3px;
    padding: 0;
    border-radius: 13px;
    width: 26px;
    height: 26px;
    background-color: #FFCD4B;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 传感器的定位或报警动画 */
.css_animation_sensor {
    pointer-events: none;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background: rgba(255, 128, 0, 0.7);
    transform: scale(0);
    animation: myfirst 3s;
    animation-iteration-count: infinite;
}

.arrowSS {
    animation: bounce-in 1.5s infinite; /* 启动动画特效 */
}

/* 风向箭头图标 */
.arrowSS_style {
    display: block;
    margin: 0 auto;
    width: 12px;
    height: 12px;
    border-right: 2px solid #6ba6c0;
    border-top: 2px solid #6ba6c0;
    /*-webkit-transform: rotate(45deg); !* 箭头方向可以自由切换角度 *!*/
    /*transform: rotate(-45deg);*/
    cursor: pointer;
}


@keyframes myfirst {
    to {
        transform: scale(2);
        background: rgba(0, 0, 0, 0);
    }
}


/* 风向箭头的动画 */
@keyframes bounce-in {
    0%, 20%, 50%, 80%, 100% {
        /*transform: translateY(0);*/
        transform: scale(0.7);
    }
    40% {
        /*transform: translateY(-30px);*/
        transform: scale(1);
    }
    60% {
        /*transform: translateY(-15px);*/
        transform: scale(1);
    }
}



